import java.util.Scanner;

public class Test5 {
    public static void main(String[] args) {
       /* int [] arr =new int [5];
        for(int i=0;i<arr.length;i++){
            Scanner sc=new Scanner(System.in);
            arr[i]=sc.nextInt();
        }
        for (int i = 0; i < arr.length; i++) {
            System.out.printf("%d ", arr[i]);
        }*/
        String []arr=new String[2];
        for (int i = 0; i < arr.length; i++) {
            Scanner sc=new Scanner(System.in);
            arr[i]=sc.nextLine();
        }
        for (int i = 0; i < arr.length; i++) {
            System.out.printf("%s ",arr[i]);
        }
    }
}
